<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" buffer="none"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>个人简历</title>
<link rel="stylesheet" href="image_css/style.css" type="text/css" />
<script type="text/javascript">
function formsubmit(){
	//document.forms[1].submit();
	//for(var i=0;i<90000000;i++){}
	document.forms[2].submit();
}

</script>
<script type="text/javascript">

	//window.location.reload();
	//alert("sdfsd");

</script>
</head>
<body>
<div id="content">
		<div id="header">
			<p id="top_info"><a href="#">欢迎${sessionScope.userName}光临本站</a><img src="image_css/images/onShow.gif">|<a href="#">登录</a> | <a href="#">注册</a> | <a href="exit.action">退出</a><br />
		    </p>
			
			<div id="logo">
				<h1><a href="#" title="Centralized Internet Content">找 <span class="title"><font color="#FF0000">工作</font></span></a></h1>
				<p>Welcome to Find Job</p>
		  </div>
		</div>
					
		<div id="tabs">
			<ul>	
				<li><a href="index.jsp" accesskey="m">首页</a></li>
				<li><a  href="showall.action" accesskey="v">查看简历</a></li>
				<li><a href="#" accesskey="r">最新招聘</a></li>
				<li><a href="#" accesskey="i">mages</a></li>
				<li><a href="#" accesskey="d">ocs</a></li>
				<li><a href="#" accesskey="a">ll</a></li>
			</ul>
			<div id="search">
				<form method="post" action="?">
					<p>职位搜索
				  <input type="text" name="search" class="search" /> <input type="submit" value="Search" class="button" /></p>
				</form>
			</div>
		</div>
					
		<div class="gboxtop"></div>
		<div class="gbox">
			<p><br/><br /></p>
		</div>
		
		<div class="left" align="center">


<br /><br /><br />
<c:if test="${sign<5}">

个人简历的填写<br />
<s:form id="resumes_submit" action="resumes_submit" method="POST"
	theme="xhtml" name="exampleForm"
	tooltipConfig="%{'jsTooltipEnabled':'true'}" onsubmit="return false;">
</s:form>
<s:form id="savePhotoForm" name="savePhotoForm" action="uploadPhoto"
		method="post" enctype="multipart/form-data" onsubmit="return false">
			
			<s:textfield label="简历名" name="resume.name" tooltip="请输入简历名" />

	<s:textfield tooltip="请填写工作类型" label="工作类型" name="resume.workType" />

	<s:textarea tooltip="请输入自我介绍" label="自我介绍"
		name="resume.description" cols="27" rows="6" />

	<s:hidden name="id" />
	<s:hidden name="resume.id" />
		<s:file name="photofile" label="选择照片" tooltip="请选择照片"/>
		<s:hidden name="personInfo.id" />
		<s:hidden name="photo.id" />
		<s:submit value="提交(S)" accesskey="S" formId="submits" onclick="formsubmit();" />

	<s:reset value="重置" />
	</s:form>

</c:if>
<c:if test="${sign>=5}">
<font color="red">刚才填写的简历，已保存成功！<br />由于您的简历已达到五份了，不能继续填写了</font>
</c:if>
	</div>
  <div id="right">
			<div class="boxtop"></div>
			<div class="box">
				<p><img src="image_css/images/image.gif" alt="Image" title="Image" class="image" /><b>Lorem ipsum dolor sit amet</b><br />consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis.<br /></p>
				<div class="buttons"><p><a href="#" class="bluebtn">Read</a> <a href="#" class="greenbtn">Mark</a></p></div>
			</div>
			
			<div class="boxtop"></div>
			<div class="box">
				<p><img src="image_css/images/image.gif" alt="Image" title="Image" class="image" /><b>Lorem ipsum dolor sit amet</b><br />consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis.<br /></p>
				<div class="buttons"><p><a href="#" class="bluebtn">Read</a> <a href="#" class="greenbtn">Mark</a></p></div>
			</div>
		</div>	
		<div class="footer">
			<p><a href="#">RSS Feed</a> &middot; <a href="#">Most Popular</a> &middot; <a href="#">Today's Favorites</a> &middot; <a href="#">All Time Favorites</a> &middot; <a href="#">Sharing Policy</a> &middot; <a href="http://www.solucija.com/home/commercial-templates/" title="Professional CSS Templates">Professional CSS Templates</a> &middot; <a href="http://www.ni5ni6.com">Ni5Ni6</a> &middot; <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> and <a href="http://validator.w3.org/check?uri=referer">XHTML</a><br />
			&copy; Copyright 2006 Internet Sharing, Design: Luka Cvrk - <a href="http://www.solucija.com/" title="Information Architecture and Web Design">Solucija</a></p>
		</div>
	</div>	 
</body>
</html>